package com.chinaedu.oc.serv.auditrecord.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.chinaedu.oc.dao.auditrecord.IAuditrecordDao;
import com.chinaedu.oc.po.auditrecord.Auditrecord;
import com.chinaedu.oc.serv.auditrecord.IAuditrecordServ;


@Service
@Transactional
public class AuditrecordServImpl implements IAuditrecordServ {

	
	@Autowired
	private IAuditrecordDao auditrecordDao;
	
	@Override
	public void insert(Auditrecord auditrecord) {
		// TODO Auto-generated method stub
		auditrecordDao.insert(auditrecord);
	}

	@Override
	public List<Auditrecord> findInfoByCommodityId(String commodityId) {
		// TODO Auto-generated method stub
		return auditrecordDao.findInfoByCommodityId(commodityId);
	}

}
